.app-container {
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: var(--bg-color);
}

.sidebar {
  width: 200px;
  background: linear-gradient(180deg, var(--sidebar-bg-start) 0%, var(--sidebar-bg-end) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
}

.sidebar.collapsed {
  width: 60px;
  min-width: 60px;
}

.sidebar-header {
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--sidebar-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.sidebar.collapsed .sidebar-header {
  padding: var(--spacing-md) 6px;
  text-align: center;
}

.sidebar-header h1 {
  font-size: var(--font-lg);
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all var(--transition-normal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sidebar.collapsed .sidebar-header h1 {
  font-size: var(--font-sm);
}

.sidebar-header p {
  font-size: var(--font-xs);
  opacity: 0.8;
  transition: opacity var(--transition-normal);
}

.menu {
  flex: 1;
  padding: var(--spacing-sm) 0;
  overflow-y: auto;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--sidebar-text);
  text-decoration: none;
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border-left: 2px solid transparent;
  font-size: var(--font-sm);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.menu-item:hover::before {
  opacity: 1;
}

.sidebar.collapsed .menu-item {
  padding: var(--spacing-sm) 0;
  justify-content: center;
}

.menu-item:hover {
  background: var(--sidebar-hover-bg);
  color: var(--sidebar-text-active);
  transform: translateX(2px);
}

.menu-item.active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-text-active);
  border-left-color: var(--sidebar-active-border);
  font-weight: 500;
}

.menu-icon {
  margin-right: var(--spacing-xs);
  font-size: var(--font-md);
  transition: all var(--transition-normal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sidebar.collapsed .menu-icon {
  margin-right: 0;
}

.menu-label {
  transition: all var(--transition-normal);
}

/* 收缩按钮样式 */
.collapse-btn {
  position: sticky;
  bottom: var(--spacing-md);
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--sidebar-active-bg);
  border: 1px solid var(--sidebar-border);
  border-radius: 50%;
  color: var(--sidebar-text-active);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  margin-top: auto;
}

.collapse-btn:hover {
  background: var(--sidebar-hover-bg);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.collapse-icon {
  font-size: 14px;
  display: inline-block;
  transition: transform var(--transition-normal);
}

/* 拖动调整宽度的手柄 */
.resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  cursor: col-resize;
  background: transparent;
  transition: all var(--transition-fast);
  z-index: 20;
  touch-action: none;
}

.resize-handle:hover {
  background: var(--sidebar-active-border);
}

.resize-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
  opacity: 0;
  transition: all var(--transition-fast);
}

.resize-handle:hover::after {
  opacity: 1;
}

.main-content {
  flex: 1;
  overflow-y: auto;
  background: var(--bg-color);
  position: relative;
  height: 100vh;
}

.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 5% 10%, rgba(59, 130, 246, 0.03) 0%, transparent 15%);
}

.content-header {
  background: var(--card-bg);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  height: 70px;
}

.content-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.02), transparent);
}

.content-header h2 {
  font-size: var(--font-xl);
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.content-body {
  padding: var(--spacing-md) var(--spacing-lg);
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
  pointer-events: none;
}

.card:hover::before {
  opacity: 0.1;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.card-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  transition: all var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stat-card.success {
  background: linear-gradient(135deg, var(--success-gradient-start) 0%, var(--success-gradient-end) 100%);
}

.stat-card.warning {
  background: linear-gradient(135deg, var(--warning-gradient-start) 0%, var(--warning-gradient-end) 100%);
}

.stat-card.danger {
  background: linear-gradient(135deg, var(--danger-gradient-start) 0%, var(--danger-gradient-end) 100%);
}

.stat-card.info {
  background: linear-gradient(135deg, var(--info-gradient-start) 0%, var(--info-gradient-end) 100%);
}

.stat-label {
  font-size: var(--font-sm);
  opacity: 0.9;
  margin-bottom: 4px;
  line-height: 1.3;
}

.stat-value {
  font-size: var(--font-xl);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.stat-unit {
  font-size: var(--font-xs);
  opacity: 0.85;
  display: none;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  background: var(--border-color-light);
  padding: var(--spacing-xs) var(--spacing-sm);
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: var(--font-sm);
  transition: all var(--transition-fast);
}

.table td {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  transition: all var(--transition-fast);
}

.table tr {
  transition: all var(--transition-fast);
}

.table tr:hover {
  background: var(--border-color-light);
  transform: scale(1.005);
}

.status-badge {
  display: inline-block;
  padding: 4px var(--spacing-sm);
  border-radius: var(--radius-lg);
  font-size: var(--font-xs);
  font-weight: 500;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.status-badge.online {
  background: var(--badge-online-bg);
  color: var(--badge-online-text);
}

.status-badge.offline {
  background: var(--badge-offline-bg);
  color: var(--badge-offline-text);
}

.status-badge.warning {
  background: var(--badge-warning-bg);
  color: var(--badge-warning-text);
}

.status-badge.normal {
  background: var(--badge-normal-bg);
  color: var(--badge-normal-text);
}

/* 筛选和排序工具栏 */
.table-toolbar {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.filter-label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.filter-select,
.filter-input {
  padding: 6px var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  color: var(--text-primary);
  background: var(--card-bg);
  transition: all var(--transition-fast) cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 100px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.filter-input {
  min-width: 150px;
}

.clear-filter-btn {
  padding: 6px var(--spacing-sm);
  background: var(--border-color-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast) cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.clear-filter-btn:hover {
  background: var(--border-color);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 可排序的表头 */
.table th.sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 16px;
}

.table th.sortable:hover {
  background: var(--border-color);
}

.sort-icon {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
}

.table th.sortable:hover .sort-icon {
  color: var(--text-primary);
}

.table th.sortable.asc .sort-icon::before {
  content: '▲';
  color: var(--primary-light);
}

.table th.sortable.desc .sort-icon::before {
  content: '▼';
  color: var(--primary-light);
}

.table th.sortable:not(.asc):not(.desc) .sort-icon::before {
  content: '⬍';
}

/* 分页样式 */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-color);
}

.pagination-info {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.page-size-selector {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.page-size-selector label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.page-size-selector select {
  padding: 6px var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  color: var(--text-primary);
  background: var(--card-bg);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-size-selector select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.pagination-buttons {
  display: flex;
  gap: var(--spacing-xs);
}

.page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: var(--font-sm);
  cursor: pointer;
  transition: all var(--transition-fast) cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-btn:hover:not(:disabled) {
  background: var(--border-color-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.page-btn.active {
  background: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.3);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 服务器名称链接样式 */
.server-name-link {
  color: var(--primary-light);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  transition: all var(--transition-fast);
}

.server-name-link:hover {
  color: var(--primary-dark);
  text-decoration-style: solid;
  text-shadow: 0 1px 1px rgba(30, 64, 175, 0.2);
}

/* 弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(4px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
}

.modal-content-wide {
  max-width: 1200px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  border-bottom: 1px solid var(--border-color);
  background: var(--border-color-light);
  position: relative;
}

.modal-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
}

.modal-header h3 {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-tertiary);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--border-color);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--spacing-lg);
  overflow-y: auto;
  flex: 1;
}

.detail-section {
  margin-bottom: var(--spacing-lg);
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section-title {
  font-size: var(--font-md);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.detail-section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-label {
  font-size: var(--font-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

.detail-value {
  font-size: var(--font-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.resource-items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.resource-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.resource-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.resource-name {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.resource-percent {
  font-size: var(--font-md);
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: var(--border-color-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  transition: width var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.status-display {
  display: flex;
  align-items: center;
  padding: var(--spacing-sm) 0;
}

/* 左右分栏布局 */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.detail-left,
.detail-right {
  min-width: 0;
}

/* 进程列表样式 */
.process-list {
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.process-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-xs);
}

.process-table thead {
  position: sticky;
  top: 0;
  background: var(--border-color-light);
  z-index: 1;
}

.process-table th {
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  white-space: nowrap;
}

.process-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 12px;
}

.process-table tbody tr {
  transition: all var(--transition-fast);
}

.process-table tbody tr:hover {
  background: var(--border-color-light);
}

.process-table tbody tr:last-child td {
  border-bottom: none;
}

.no-processes {
  padding: var(--spacing-lg);
  text-align: center;
  color: var(--text-tertiary);
  font-size: var(--font-sm);
}

/* 进程卡片样式 */
.process-item {
  padding: 12px;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.process-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.process-item:hover::before {
  opacity: 1;
}

.process-item:last-child {
  border-bottom: none;
}

.process-item:hover {
  background-color: var(--border-color-light);
  transform: translateX(2px);
}

.process-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.process-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
}

.process-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.process-status.running {
  background-color: #d1fae5;
  color: #065f46;
}

.process-status.stopped {
  background-color: #fee2e2;
  color: #991b1b;
}

.process-details {
  display: flex;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.process-details span {
  display: flex;
  align-items: center;
}

.process-resources {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.process-resources span {
  display: flex;
  align-items: center;
}

/* 服务器信息页面样式 */
/* 统计卡片样式 */
.stat-cards {
  margin-bottom: var(--spacing-md);
}

.stat-card {
  height: 100px;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: none;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stat-card.info {
  background: linear-gradient(135deg, var(--info-gradient-start), var(--info-gradient-end));
}

.stat-card.success {
  background: linear-gradient(135deg, var(--success-gradient-start), var(--success-gradient-end));
}

.stat-card.warning {
  background: linear-gradient(135deg, var(--warning-gradient-start), var(--warning-gradient-end));
}

.stat-card.danger {
  background: linear-gradient(135deg, var(--danger-gradient-start), var(--danger-gradient-end));
}

.stat-label {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
}

.stat-value {
  font-size: var(--font-lg);
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 表格卡片样式 */
.table-card {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 表格工具栏样式 */
.table-toolbar {
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* 详情布局样式 */
.detail-layout {
  padding: var(--spacing-sm) 0;
}

.detail-card {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.detail-card :deep(.el-card__header) {
  background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
  color: white;
  font-weight: 600;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: none;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-md);
  padding: var(--spacing-sm);
}

.resource-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.resource-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.resource-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}

.resource-label {
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.resource-value {
  font-size: var(--font-md);
  font-weight: 700;
}

.no-processes {
  text-align: center;
  padding: var(--spacing-lg);
  color: var(--text-tertiary);
  font-style: italic;
}